<?php

class StuffModel extends Model {

    public function getstuffs($uid = 0)
	{
        $uid = intval($uid);
        if (!$uid) return array('ecode' => ERR302);

        $ret = &daocall("stuff", "getstuffs", array($uid));
        if ($ret === false || !is_array($ret)) return array("ecode" => ERR601);
		else return array("ecode" => SUCCESS, 'ret' => &$ret);
    }
	

	//使用包裹里的物品
	public function usestuff()
	{
	
	}
}
?>